﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RaygunDiplomacy.Activities
{
   public abstract class ProgressActivity : Activity
   {
      FastSubject<EventArgs> finished = new FastSubject<EventArgs>();

      protected void OnFinished()
      {
         finished.OnNext(EventArgs.Empty);
      }

      public IObservable<EventArgs> Finished
      {
         get { return finished; }
      }
   }
}
